package com.sgam.mf.dao.ref;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sgam.mf.dao.GenericDAOImpl;
import com.sgam.mf.domain.ref.RefServices;


@Repository
public class RefServicesDAOImpl extends GenericDAOImpl<RefServices> implements RefServicesDAO {


	@SuppressWarnings("unchecked")
	public List<RefServices> listByDomain(Integer id) {

		return getCurrentSession().createQuery("from RefServices where REF_DOMAIN_FK="+id).list();
	}
	
}

	
